<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/common/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/find.css"/>
	</head>
	<body>
		<div class="web">
			<header>
				<div class="back">
						<input type="button" name="" id="" value="back" onclick="location='index.html'"/>
				</div>
				<div class="selectBar">
					<select name="">
						<option value="">广州</option>
						<option value="">北京</option>
						<option value="">上海</option>
						<option value="">深圳</option>
					</select>
				</div>
				<div class="title">
						<h5>发现</h5>
				</div>
				<div class="clear"></div>
			</header>
			
			<!--主体-->
			<section>
				<div class="searchbar">
					<input type="search" name="" id="" value="" placeholder="请输入商品名称" />
					<i class="iconfont icon-fangdajing"></i>
				</div>
				
				<div class="all">
					<h5>大家都在搜</h5>
					<table>
						<tbody>
							<tr>
								<td>
									<a href=""><p>寿司</p></a>
								</td>
								<td>
									<a href=""><p>羽毛球</p></a>
								</td>
								<td>
									<a href=""><p>火锅</p></a>
								</td>
								<td>
									<a href=""><p>游泳馆</p></a>
								</td>
							</tr>
							<tr>
								<td>
									<a href=""><p>电影</p></a>
								</td>
								<td>
									<a href=""><p>周黑鸭</p></a>
								</td>
								<td>
									<a href=""><p>KTV</p></a>
								</td>
								<td>
									<a href=""><p>肯德基</p></a>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="hot-search">
					<div class="search-title">
						<div class="title-left">
							<div class="title-img">
								<img src="img/find/fire.png"/>
							</div>
							<span>热门搜索</span>
						</div>
						<div class="title-right">
							<a href="">
								<p>更多<i class="iconfont icon-you"></i></p>
							</a>
						</div>
						<div class="clear"></div>
					</div>
					<div class="hot-search-img">
						<div class="img-left">
							<img src="img/find/hot-1.jpg"/>
						</div>
						<div class="img-right">
							<div class="img-right-top">
								<img src="img/find/hot-2.jpg"/>
							</div>
							<div class="img-right-bottom">
								<div class="img-right-bottom1">
									<img src="img/find/hot-3.jpg"/>
								</div>
								<div class="img-right-bottom2">
									<img src="img/find/hot-4.jpg"/>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="recommend-search">
					<div class="search-title">
						<div class="title-left">
							<div class="title-img">
								<img src="img/detail/star.png"/>
							</div>
							<span>推荐搜索</span>
						</div>
						<div class="title-right">
							<a href="">
								<p>更多<i class="iconfont icon-you"></i></p>
							</a>
						</div>
						<div class="clear"></div>
					</div>
					<div class="recommend-search-img">
						<div class="recommend-1">
							<img src="img/find/recommend1.jpg"/>
						</div>
						<div class="recommend-3">
							<img src="img/find/recommend3.jpg"/>
						</div>
						<div class="recommend-2">
							<img src="img/find/recommend2.jpg"/>
						</div>
					</div>
				</div>
			</section>
			
			<!--尾-->
			<footer>
				<ul>
					<li>
						<a href="index.html">
							<i class="iconfont icon-noun28593cc"></i>
							<p>首页</p>
						</a>
					</li>
					<li>
						<a href="classification.html">
							<i class="iconfont icon-fl"></i>
							<p>分类</p>
						</a>
					</li>
					<li class="active">
						<a href="">
							<i class="iconfont icon-zhinanzhen"></i>
							<p>发现</p>
						</a>
					</li>
					<li>
						<a href="im.html">
							<i class="iconfont icon-ren"></i>
							<p>我的</p>
						</a>
					</li>
				</ul>
			</footer>
		</div>
		
		<script>
			document.body.style.height = window.innerHeight + "px";
		</script>
		
		<script type="text/javascript">
			/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
//								字体大小 = 一个rem单位表示多少个像素*(设备宽度/ 设计图宽度)
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
			
		</script>
	</body>
</html>
